package com.zzt.service;

import com.zzt.entity.Gwc;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface GwcService {
    //展示所有购物车商品
    public List<Gwc> showAllGwc(int mno);
    //+1
    public void addOneGoods(int gwcId);
    //-1
    public void subOneGoods(int gwcId);
    //删除
    public void delGoods(int gwcId);
    //清空
    public void clearGwc(int mno);
    //计算一共有多少个商品
    public int countGoods(int mno);

}
